<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Class')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-class" data-rule="required" class="form-control selectpicker" name="row[class]">
                {foreach name="classList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.class"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Subject_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-subject_id" data-rule="required" data-source="subject/index" class="form-control selectpage" name="row[subject_id]" type="text" value="{$row.subject_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Package_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-package_id" data-rule="required" data-source="package/index" class="form-control selectpage" name="row[package_id]" type="text" value="{$row.package_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Optiona')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-optiona" data-rule="required" class="form-control " rows="5" name="row[optiona]" cols="50">{$row.optiona}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Optionb')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-optionb" data-rule="required" class="form-control " rows="5" name="row[optionb]" cols="50">{$row.optionb}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Optionc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-optionc" data-rule="required" class="form-control " rows="5" name="row[optionc]" cols="50">{$row.optionc}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Optiond')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-optiond" data-rule="required" class="form-control " rows="5" name="row[optiond]" cols="50">{$row.optiond}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('选项E')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-optione" class="form-control " rows="5" name="row[optione]" cols="50">{$row.optione}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Answer')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-answer" data-rule="required" class="form-control " rows="5" name="row[answer]" cols="50">{$row.answer}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Count')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-count" data-rule="required" class="form-control" name="row[count]" type="number" value="{$row.count}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
